package com.cyy.adapter_pattern;

import com.cyy.adapter_pattern.object_adapter.Huo;
import com.cyy.adapter_pattern.object_adapter.JingShi;

/**
 * 适配者模式(对象适配器)
 */
public class ObjectAdapterDemo {
    public static void main(String[] args) {
        Huo huo = new Huo();
        JingShi text = new JingShi(huo);
        text.chang();
    }
}
